package com.cdck.safe.dete.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cdck.safe.dete.model.entity.CheckProject;
import com.cdck.safe.dete.model.query.BaseKeywordsQuery;

import java.util.List;


/**
 * (CheckProject)表服务接口
 *
 * @author Sakura
 * @since 2024-02-29 10:30:29
 */
public interface CheckProjectService extends IService<CheckProject> {


    /**
     * 分页列表
     *
     * @return
     */
    IPage<CheckProject> queryByPage(BaseKeywordsQuery queryParams);


    /**
     * 获取表单数据
     *
     * @param id
     * @return
     */
    CheckProject getCheckProjectFormData(Long id);

    /**
     * 新增数据
     *
     * @param checkProject CheckProject对象
     * @return
     */
    boolean saveCheckProject (CheckProject checkProject);

   /**
     * 修改数据
     *
     * @param id   id
     * @paramcheckProject CheckProject对象
     * @return
     */
    boolean updateCheckProject(Long id, CheckProject checkProject);

    /**
     * 删除数据
     *
     * @param idsStr id,多个以英文逗号(,)分割
     * @return
     */
    boolean deleteCheckProjects(String idsStr);

    /**
     * 查询所有套餐
     * @return 套餐
     */
    List<CheckProject> queryAllProject();
}
